package com.bigdata.movieticketapi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author movie
 * @since 2023-10-26
 */
@Getter
@Setter
@ApiModel(value = "Movie对象", description = "")
public class Movie implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("电影ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("电影名称（中文）")
    private String chineseName;

    @ApiModelProperty("电影名称（英文）")
    private String englishName;

    @ApiModelProperty("电影类型")
    private Integer type;

    @ApiModelProperty("语言")
    private String movieLanguage;

    @ApiModelProperty("时长")
    private String duration;

    @ApiModelProperty("上映时间")
    private LocalDateTime releaseTime;

    @ApiModelProperty("图片")
    private String images;

    @ApiModelProperty("是否删除")
    private Boolean isDel;

    @ApiModelProperty("是否售卖")
    private Boolean isSell;
}
